get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_status = 'draft' AND post_author = $user_ID"); if (1 < $user_level) { $editable = $wpdb->get_col("SELECT ID FROM $wpdb->users WHERE user_level <= '$user_level' AND ID != $user_ID"); if( is_array( $editable ) == false ) $other_drafts = ''; else { $editable = join(',', $editable); $other_drafts = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_status = 'draft' AND post_author IN ($editable) "); } } else { $other_drafts = false; } if ($drafts || $other_drafts) { ?>

post_title = stripslashes($draft->post_title); if ($draft->post_title == '') $draft->post_title = sprintf(__('Post #%s'), $draft->ID); echo "$draft->post_title"; ++$i; } ?> .

post_title = stripslashes($draft->post_title); if ($draft->post_title == '') $draft->post_title = sprintf(__('Post #%s'), $draft->ID); echo "$draft->post_title"; ++$i; } ?> .


'display name' $posts_columns = array( 'id' => __('ID'), 'date' => __('When'), 'title' => __('Title'), 'categories' => __('Categories'), 'comments' => __('Comments'), 'author' => __('Author') ); $posts_columns = apply_filters('manage_posts_columns', $posts_columns); // you can not edit these at the moment $posts_columns['control_view'] = ''; $posts_columns['control_edit'] = ''; $posts_columns['control_delete'] = ''; ?> $column_display_name) { switch($column_name) { case 'id': ?>
g:i:s a'); ?> post_status) _e(' - Private'); ?> ID) ) { echo "" . __('Edit') . ""; } ?> ID) ) { echo "" . __('Delete') . ""; } ?>
get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved != 'spam' ORDER BY comment_date"); if ($comments) { ?>

    comment_ID); ?>
  1. > @ $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "[ comment_ID."\">" . __('Edit') . ""; echo " - ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('" . sprintf(__("You are about to delete this comment by \'%s\'\\n \'OK\' to delete, \'Cancel\' to stop."), $comment->comment_author) . "')\">" . __('Delete') . " "; if ( ('none' != $comment_status) && ($user_level >= 3) ) { if ('approved' == wp_get_comment_status($comment->comment_ID)) { echo " - ID."&comment=".$comment->comment_ID."\">" . __('Unapprove') . " "; } else { echo " - ID."&comment=".$comment->comment_ID."\">" . __('Approve') . " "; } } echo "]"; } // end if any comments to show ?>
    ( / ) (IP: )
  2. '; }//end if comments ?>